<?php
/**
 * 定义 View_Helper_Abstract 类
 * 
 * @copyright Copyright (c) 2008 Classic Reappear Technology LLC
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @version $Id: abstract.php 2009-2-27 下午03:04:49 蓝色身份 $
 */

/**
 * 视图助手抽象类
 *
 * @author 蓝色身份 <lance.w@live.cn>
 * @copyright Copyright (c) 2008 Classic Reappear Technology LLC
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @package View
 * @subpackage Helper
 */
abstract class View_Helper_Abstract
{
    /**
     * 视图实例
     *
     * @var View_Abstract
     */
    public $view = null;

    /**
     * 设置视图实例
     *
     * @param View_Abstract $view
     * @return View_Helper_Abstract
     */
    public function setView(View_Abstract $view)
    {
        $this->view = $view;
        return $this;
    }
}